<?php
// +----------------------------------------------------------------------
// | Loadphp Framework designed by www.loadphp.com
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.loadphp.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 亓斌 <qibin0506@gmail.com>
// +----------------------------------------------------------------------

    /**
     +------------------------------------------------------------------------------
     * 配置数据库信息
     +------------------------------------------------------------------------------
     */
    define("DSN","mysql:host=localhost;dbname=loadphp");   //PDO数据库连接标示
    define("DBUSER","root");                               //数据库用户名
    define("DBPWD","");                                    //数据库密码
    
    /**
     +------------------------------------------------------------------------------
     * 定义smarty常量
     +------------------------------------------------------------------------------
     */
    define("LEFT_DELIMITER","<(");                         //模板变量左界限符
    define("RIGHT_DELIMITER",")>");                        //模板变量右界限符
    define("ISCACHE",false);                               //是否缓存
    define("CACHE_LIFE",60*60*24);                         //缓存时间
    
    /**
     +------------------------------------------------------------------------------
     * URL伪静态
     +------------------------------------------------------------------------------
     */
    define("IS_STATIC",true);                              //是否开启伪静态
    define("STATIC_FOLLOWING","html");                     //伪静态扩展名
    define("STATIC_SEPARATOR","-");                        //伪静态分隔符
    
    /**
     +------------------------------------------------------------------------------
     * 视图模板相关
     +------------------------------------------------------------------------------
     */
    define("TPL_TYPE","html");                             //视图模板类型
    define("TPL_PATH","Default");                          //视图模板存放目录